<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="{% static 'js/jquery.min.js' %}"></script>
        <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
        <link
            rel="stylesheet"
            type="text/css"
            href="{% static 'css/search_default.css' %}"
        />
        <link
            rel="stylesheet"
            type="text/css"
            href="{% static 'css/search_component.css' %}"
        />
        <script src="{% static 'js/search_modernizr.custom.js' %}"></script>
        
        <link rel="stylesheet" href="{% static 'css/user.css' %}" />
         <link rel="stylesheet" href="{% static 'css/footer.css' %}" />
         <link rel="stylesheet" href="{% static 'css/base_template.css' %}" />
         {% block haed_files %}
        {% endblock haed_files %}
        <title>{% block title %}用户中心{% endblock title %}</title>
    <title>Document</title>
</head>
<body>
     <div class="welcome">
            <div class="box">
                <p>欢迎来到A！</p>
                <ul>
                    {% if user.is_authenticated %}
                    <li>欢迎您 {{user.username}} </li>
                    <li><span>|</span></li>
                    <li><a href="{% url 'user:logout' %}">退出</a></li>
                    {% else %}
                    <li><a href="{% url 'user:login' %}">登录</a></li>
                    <li><span>|</span></li>
                    <li><a href="{% url 'user:register' %}">注册</a></li>
                    {% endif %}
                    <li><span>|</span></li>
                    <li><a href="{% url 'user:user' %}">用户中心</a></li>
                    <li><span>|</span></li>
                    <li><a href="">我的购物车</a></li>
                    <li><span>|</span></li>
                    <li><a href="{% url 'user:user_order' %}">我的订单</a></li>
                </ul>
            </div>
        </div>
    <div class="search_mine">
        <div class="logo">
            <a href="{% url 'goods:index' %}"><img src="{% static 'logo.png' %}" alt="logo" /></a>
        </div>
        <div class="title_mine">
            {% block page_title %}用户中心{% endblock page_title %}
        </div>
        <div class="searchs">
            <div class="column">
                <div id="sb-search" class="sb-search">
                    <form method="get" action="/search">
                        <input
                            class="sb-search-input"
                            placeholder="你想搜索什么呢？"
                            type="text"
                            value=""
                            name="q"
                            id="search"
                        />
                        <input
                            class="sb-search-submit"
                            type="submit"
                            value=""
                        />
                        <span class="sb-icon-search">
                            <img
                                src="{% static 'image/搜索.png' %}"
                                alt=""
                            />
                        </span>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <footer>
        <div class="line"></div>
        <ul>
            <li><a href="">关于我们</a></li>
            <li>|</li>
            <li><a href="">联系我们</a></li>
            <li>|</li>
            <li><a href="">招聘人才</a></li>
            <li>|</li>
            <li><a href="">友情链接</a></li>
        </ul>
        <p>CopyRight © 2016 A技术有限公司 All Rights Reserved</p>
        <p>电话：010-****888 京ICP备*******8号</p>
    </footer>
    {% block bottom_file %}{% endblock bottom_file %}
</body>
</html>